package com.passbook.merchant.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lsy
 */
@Data
@ApiModel(value = "MerchantDTO", description = "")
public class MerchantDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 商户 id 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 商户名称 且全局唯一
     */
    @ApiModelProperty(value = "商户名称")
    private String name;

    /**
     * 商户 logo
     */
    @ApiModelProperty(value = "商户logo")
    private String logoUrl;

    /**
     * 商户营业执照
     */
    @ApiModelProperty(value = "营业执照（企业证明）")
    private String businessLicenseUrl;

    /**
     * 商户联系电话
     */
    @ApiModelProperty(value = "联系人手机号(关联统一账号)")
    private String phone;

    /**
     * 商户地址
     */
    @ApiModelProperty(value = "商户地址")
    private String address;

    /**
     * 商户是否通过审核
     */
    @ApiModelProperty(value = "审核状态 0-未申请,1-已申请待审核,2-审核通过,3-审核拒绝")
    private boolean isAudit = false;
}
